package com.woniuxy.Dto;

/**
 * description: topicPage <br>
 * date: 2022/5/31 8:10 下午 <br>
 * author: shesaifei <br>
 * version: 1.0 <br>
 */
public class TopicPage {
    /**
     * 题目表的id
     */
    private Integer topicId;
    /**
     * 题干
     */
    private String topicDry;
    /**
     * 题型表的id（外键）
     */
    private Integer topicTypeId;
    /**
     * 创建人
     */
    private String createUser;
    /**
     * 创建时间
     */
    private String createTime;
    /**
     * 跟新人
     */
    private String updateUser;
    /**
     * 跟新时间
     */
    private Integer page;
    private Integer limit;
    private String updateTime;
    private Integer complexityId;//难易程度id
    private Integer questionBankId;//题库id
    public TopicPage() {
    }

    public TopicPage(Integer topicId, String topicDry, Integer topicTypeId, String createUser, String createTime, String updateUser, Integer page, Integer limit, String updateTime, Integer complexityId, Integer questionBankId) {
        this.topicId = topicId;
        this.topicDry = topicDry;
        this.topicTypeId = topicTypeId;
        this.createUser = createUser;
        this.createTime = createTime;
        this.updateUser = updateUser;
        this.page = page;
        this.limit = limit;
        this.updateTime = updateTime;
        this.complexityId = complexityId;
        this.questionBankId = questionBankId;
    }

    public Integer getTopicId() {
        return topicId;
    }

    public void setTopicId(Integer topicId) {
        this.topicId = topicId;
    }

    public String getTopicDry() {
        return topicDry;
    }

    public void setTopicDry(String topicDry) {
        this.topicDry = topicDry;
    }

    public Integer getTopicTypeId() {
        return topicTypeId;
    }

    public void setTopicTypeId(Integer topicTypeId) {
        this.topicTypeId = topicTypeId;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getComplexityId() {
        return complexityId;
    }

    public void setComplexityId(Integer complexityId) {
        this.complexityId = complexityId;
    }

    public Integer getQuestionBankId() {
        return questionBankId;
    }

    public void setQuestionBankId(Integer questionBankId) {
        this.questionBankId = questionBankId;
    }

    @Override
    public String toString() {
        return "TopicPage{" +
                "topicId=" + topicId +
                ", topicDry='" + topicDry + '\'' +
                ", topicTypeId=" + topicTypeId +
                ", createUser='" + createUser + '\'' +
                ", createTime='" + createTime + '\'' +
                ", updateUser='" + updateUser + '\'' +
                ", page=" + page +
                ", limit=" + limit +
                ", updateTime='" + updateTime + '\'' +
                ", complexityId=" + complexityId +
                ", questionBankId=" + questionBankId +
                '}';
    }
}
